package com.bbzn.device.client.service;

import java.util.List;

import com.bbzn.device.client.dataobject.PlanLeader;
import com.bbzn.device.client.dto.index.PlanLeaderDTO;

public interface PlanLeaderService {


    int deleteByPrimaryKey(Long id);

    int deleteByLeaderId(Long id);

    int insert(PlanLeader record);

    int insertOrUpdate(PlanLeader record);

    int insertOrUpdateSelective(PlanLeader record);

    int insertSelective(PlanLeader record);

    PlanLeader selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PlanLeader record);

    int updateByPrimaryKey(PlanLeader record);

    List<PlanLeader> findByAll(PlanLeader planLeader);

    int updateBatch(List<PlanLeader> list);

    int updateBatchSelective(List<PlanLeader> list);

    int batchInsert(List<PlanLeader> list);


    /**
     * 根据id查询计划选择的领导人
     */
    List<PlanLeaderDTO> getPlanLeaderList(Long id);

}


